local Class = require('lua.lang.Class')

--- @class Priority :Class
--- @field left number
--- @field right number
local Priority = Class {}

--- @param left number
--- @param right number
--- @return Priority
function Priority:new(left, right)
	--- @type Priority
	local o = {
		left = left,
		right = right
	}
	return setmetatable(o, Priority)
end

return Priority